current version 1.0 - 4th October 2008
version | date | comment |
---|---|---|
1.0 | 04/Oct/2008 | Original code |
license: GNU GPL http://www.gnu.org/licenses/
This file is part of
MOSAICO -- MOdular library for raSter bAsed hydrologIcal appliCatiOn.
Copyright (C) 2011 Giovanni Ravazzani
Language: Fortran 90.
Software Standards: "European Standards for Writing and
Documenting Exchangeable Fortran 90 Code".
Collection of general purpose utilities
calculates linear interpolation between real numbers.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=float), | intent(in) | :: | x1 | |||
real(kind=float), | intent(in) | :: | x2 | |||
real(kind=float), | intent(in) | :: | y1 | |||
real(kind=float), | intent(in) | :: | y2 | |||
real(kind=float), | intent(in) | :: | x |
calculates linear interpolation between real numbers. Output is a double real
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=float), | intent(in) | :: | x1 | |||
real(kind=float), | intent(in) | :: | x2 | |||
real(kind=double), | intent(in) | :: | y1 | |||
real(kind=double), | intent(in) | :: | y2 | |||
real(kind=float), | intent(in) | :: | x |
calculates linear interpolation between integer numbers with output real.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | x1 | |||
integer, | intent(in) | :: | x2 | |||
real(kind=float), | intent(in) | :: | y1 | |||
real(kind=float), | intent(in) | :: | y2 | |||
integer, | intent(in) | :: | x |
returns a free FORTRAN unit number Discussion: A "free" FORTRAN unit number is an integer between 1 and 999 which is not currently associated with an I/O device. A free FORTRAN unit number is needed in order to open a file with the OPEN command. If IUNIT = 0, then no free FORTRAN unit could be found, although all 999 units were checked (except for units 5 and 6). Otherwise, IUNIT is an integer between 1 and 99, representing a free FORTRAN unit. Note that GetUnit assumes that units 5 and 6 are special, and will never return those values. Adapted from John Burkardt
calculates linear interpolation between real numbers. Output is a double real
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=float), | intent(in) | :: | x1 | |||
real(kind=float), | intent(in) | :: | x2 | |||
real(kind=double), | intent(in) | :: | y1 | |||
real(kind=double), | intent(in) | :: | y2 | |||
real(kind=float), | intent(in) | :: | x |
calculates linear interpolation between real numbers.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=float), | intent(in) | :: | x1 | |||
real(kind=float), | intent(in) | :: | x2 | |||
real(kind=float), | intent(in) | :: | y1 | |||
real(kind=float), | intent(in) | :: | y2 | |||
real(kind=float), | intent(in) | :: | x |
calculates linear interpolation between integer numbers with output real.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | x1 | |||
integer, | intent(in) | :: | x2 | |||
real(kind=float), | intent(in) | :: | y1 | |||
real(kind=float), | intent(in) | :: | y2 | |||
integer, | intent(in) | :: | x |
prints the current YMDHMS date as a time stamp.
Cursor remains on the same line.
Example: 2008-09-29T21:00:25.624+0200
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=short), | intent(in) | :: | unit |